package cloud.admin.gateway.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import cloud.admin.gateway.entity.GatewayRoutes;

@Mapper
public interface RouteMapper {

    int deleteByPrimaryKey(@Param("id") Long id ,@Param("isDel") boolean isDel);

    int enableById(@Param("id") Long id,@Param("isEbl") boolean isEbl);

    int insertSelective(GatewayRoutes record);

    GatewayRoutes selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GatewayRoutes record);

    int updateByPrimaryKey(GatewayRoutes record);

    List<GatewayRoutes> getRoutes(GatewayRoutes route);

	int insertRoute(GatewayRoutes gatewayRoute);

}
